package com.sf.sms.user.entity;

import com.sf.sms.utils.IdEntity;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by 80002004 on 2016/8/29.
 */
public class Resources extends IdEntity implements Serializable {

    /**资源编码*/
    private String resCode;
    /**资源名称*/
    private String resName;
    /**资源URL*/
    private String actionUrl;
    /**资源描述*/
    private String resDesc;
    /*资源父级ID**/
    private Long parentId;
    /**是否有子菜单 0否，1是*/
    private String hasChild;
    /**菜单级别 1一级菜单，2二级菜单，3三级菜单，6页面内容*/
    private String resLevel;
    /**资源类别 1菜单，2普通资源*/
    private String resType;
    /**是否显示 0否，1是*/
    private String isShow;
    /**图标路径*/
    private String iconPath;
    /**图标样式*/
    private String iconClass;
    /**treeId*/
    private String treeId;
    /**创建时间*/
    private Date createDate;

    public Resources(String resCode, String resName, String actionUrl, String resDesc,
                       Long parentId, String hasChild, String resLevel, String resType,
                       String isShow, String iconPath, String iconClass, String treeId, Date createDate) {
        this.resCode = resCode;
        this.resName = resName;
        this.actionUrl = actionUrl;
        this.resDesc = resDesc;
        this.parentId = parentId;
        this.hasChild = hasChild;
        this.resLevel = resLevel;
        this.resType = resType;
        this.isShow = isShow;
        this.iconPath = iconPath;
        this.iconClass = iconClass;
        this.treeId = treeId;
        this.createDate = createDate;
    }

    public String getResCode() {
        return resCode;
    }

    public void setResCode(String resCode) {
        this.resCode = resCode;
    }

    public String getResName() {
        return resName;
    }

    public void setResName(String resName) {
        this.resName = resName;
    }

    public String getActionUrl() {
        return actionUrl;
    }

    public void setActionUrl(String actionUrl) {
        this.actionUrl = actionUrl;
    }

    public String getResDesc() {
        return resDesc;
    }

    public void setResDesc(String resDesc) {
        this.resDesc = resDesc;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getHasChild() {
        return hasChild;
    }

    public void setHasChild(String hasChild) {
        this.hasChild = hasChild;
    }

    public String getResLevel() {
        return resLevel;
    }

    public void setResLevel(String resLevel) {
        this.resLevel = resLevel;
    }

    public String getResType() {
        return resType;
    }

    public void setResType(String resType) {
        this.resType = resType;
    }

    public String getIsShow() {
        return isShow;
    }

    public void setIsShow(String isShow) {
        this.isShow = isShow;
    }

    public String getIconPath() {
        return iconPath;
    }

    public void setIconPath(String iconPath) {
        this.iconPath = iconPath;
    }

    public String getIconClass() {
        return iconClass;
    }

    public void setIconClass(String iconClass) {
        this.iconClass = iconClass;
    }

    public String getTreeId() {
        return treeId;
    }

    public void setTreeId(String treeId) {
        this.treeId = treeId;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }
}
